﻿// See https://aka.ms/new-console-template for more information

Console.WriteLine("Hello, World!");
foreach(var item in Enum.GetValues<Color>().Select(c => (c, c.GetTypeCode(), (int)c)))
{ 
    Console.WriteLine($"Value:{item.Item1}\t,TypeCode:{item.Item2}\t,InitValue:{ item.Item3}\t");
}
public enum Color:byte
{
    Red = 0x01,
    Blue,
    Green
}

